package com.xnew.bean.common;

import java.io.Serializable;
import java.util.List;

public class AcctOrganizationInfo implements Serializable {
	/**机构ID*/
	private String orgId;
	
	/**上级机构ID*/
	private String parentId;
	
	/**机构名称*/
	private String orgName;

	private String orgLevel;

	private String orgOrder;

	/**创建人*/
	private String createUser;
	
	/**创建时间*/
	private String createTime;
	
	/**更新人*/
	private String updateUser;
	
	/**更新时间*/
	private String updateTime;

	/**机构全程*/
	private String orgAllName;

	/**机构全程*/
	private String orgAllId;

	/**机构类型*/
	private String orgType;

	private List<AcctOrganizationYear> acctOrganizationYear;

	public List<AcctOrganizationYear> getAcctOrganizationYear() {
		return acctOrganizationYear;
	}

	public void setAcctOrganizationYear(List<AcctOrganizationYear> acctOrganizationYear) {
		this.acctOrganizationYear = acctOrganizationYear;
	}
	
	private static final long serialVersionUID = 1L;


	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId == null ? null : orgId.trim();
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId == null ? null : parentId.trim();
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName == null ? null : orgName.trim();
	}

	public String getOrgLevel() {
		return orgLevel;
	}

	public void setOrgLevel(String orgLevel) {
		this.orgLevel = orgLevel;
	}

	public String getOrgOrder() {
		return orgOrder;
	}

	public void setOrgOrder(String orgOrder) {
		this.orgOrder = orgOrder;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser == null ? null : createUser.trim();
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser == null ? null : updateUser.trim();
	}


	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getOrgAllName() {
		return orgAllName;
	}

	public void setOrgAllName(String orgAllName) {
		this.orgAllName = orgAllName;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getOrgAllId() {
		return orgAllId;
	}

	public void setOrgAllId(String orgAllId) {
		this.orgAllId = orgAllId;
	}

	@Override
	    public String toString() {
	        StringBuilder sb = new StringBuilder();
	        sb.append(getClass().getSimpleName());
	        sb.append(" [");
	        sb.append("Hash = ").append(hashCode());
	        sb.append(", orgId=").append(orgId);
	        sb.append(", parentId=").append(parentId);
	        sb.append(", orgName=").append(orgName);
	        sb.append(", createUser=").append(createUser);
	        sb.append(", createTime=").append(createTime);
	        sb.append(", updateUser=").append(updateUser);
	        sb.append(", updateTime=").append(updateTime);
	        sb.append(", serialVersionUID=").append(serialVersionUID);
	        sb.append("]");
	        return sb.toString();
	    }
}
